package practice;

import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;

/** 统计 */
public class Statistics {

	public static void main(String[] args) {
		@SuppressWarnings("resource")
		Scanner scan = new Scanner(System.in);
		String str = scan.nextLine();
		Map<Character, Integer> count = new HashMap<>();
		for (int i = 0; i < str.length(); i++) {
			char ch = str.charAt(i);
			if (count.containsKey(ch))
				count.put(ch, count.get(ch) + 1);
			else
				count.put(ch, 1);
		}
		System.out.println("统计结果：");
		for (char key : count.keySet())
			System.out.println(key + "：" + count.get(key));
	}

}
